package com.jiayang.hhotel.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/5/27 0027.
 * 合同折扣数据类
 */

public class ContractDisCountModel implements IModel {

    /**
     * state : 9
     * info :
     * pTaContractDisListDto : [{"serial":1,"trnGroup":"","trnGroupdescp":"","grpDiscount":0,"gstDiscount":0}]
     */

    private int state;
    private String info;
    private List<PTaContractDisListDtoBean> pTaContractDisListDto;

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<PTaContractDisListDtoBean> getPTaContractDisListDto() {
        return pTaContractDisListDto;
    }

    public void setPTaContractDisListDto(List<PTaContractDisListDtoBean> pTaContractDisListDto) {
        this.pTaContractDisListDto = pTaContractDisListDto;
    }

    public static class PTaContractDisListDtoBean {
        /**
         * serial : 1
         * trnGroup :
         * trnGroupdescp :
         * grpDiscount : 0
         * gstDiscount : 0
         */

        private int serial;
        private String trnGroup;
        private String trnGroupdescp;
        private int grpDiscount;
        private int gstDiscount;

        public int getSerial() {
            return serial;
        }

        public void setSerial(int serial) {
            this.serial = serial;
        }

        public String getTrnGroup() {
            return trnGroup;
        }

        public void setTrnGroup(String trnGroup) {
            this.trnGroup = trnGroup;
        }

        public String getTrnGroupdescp() {
            return trnGroupdescp;
        }

        public void setTrnGroupdescp(String trnGroupdescp) {
            this.trnGroupdescp = trnGroupdescp;
        }

        public int getGrpDiscount() {
            return grpDiscount;
        }

        public void setGrpDiscount(int grpDiscount) {
            this.grpDiscount = grpDiscount;
        }

        public int getGstDiscount() {
            return gstDiscount;
        }

        public void setGstDiscount(int gstDiscount) {
            this.gstDiscount = gstDiscount;
        }
    }
}
